package com.norway.sms;

import android.os.Handler;

public class SubmitUserInfoRequest extends AbsImpleHttpListener
{
	public static final int SUMBIT_SUCCESS=1308011416;
	public static final int SUMBIT_FAIL=1308011417;
	
	public SubmitUserInfoRequest(Handler mHandler, String requestURL)
	{
		super(mHandler, requestURL);
	}

	@Override
	public void doHttpFailed(int requestId)
	{
		mHanlder.sendEmptyMessage(SUMBIT_FAIL);
	}

	@Override
	public void doHttpSuccess(String response, int requestId)
	{
		mHanlder.sendEmptyMessage(SUMBIT_SUCCESS);
	}

	@Override
	public void executeHttp()
	{
		new HttpRequest(requestURL, this, HttpRequest.HTTP_REPONSE_STRING);
	}
}
